package com.better.common.mongo.repository;

import com.better.common.mongo.model.BaseModel;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.repository.NoRepositoryBean;

import java.io.Serializable;

/**
 * Created by xiaq on 2017/9/11.
 *
 */
@NoRepositoryBean
public interface BaseRepository<T extends BaseModel, ID extends Serializable> extends MongoRepository<T, ID>{
}
